addKeyboardNavigationClusters

open fun addKeyboardNavigationClusters(@NonNull view: View, @NonNull views: Collection<View>, direction: Int)(source)

Adds any keyboard navigation cluster roots that are descendants of view ( including view if it is a cluster root itself) to views. Does nothing on API <26.

Parameters

view

view on which to make the change.

views

collection of keyboard navigation cluster roots found so far.

direction

direction to look.